package com.yuyu.common.exception;

public class NotStockException extends RuntimeException{

    private Long skuId; // ?

    public NotStockException(Long skuId){
        super(skuId +"号商品的库存不足");
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }
}
